import { defineStore } from 'pinia'
import { ref } from 'vue'


export const useUserStore = defineStore('user', () => {
  let user = ref('')
  // 把数据return 出去
  return {
    user,
  }

}, {
  persist: true,
})